package objects;

import java.util.ArrayList;

public class FeaturesDatabase {
	
	private ArrayList<Constituent> constituents;
	private ArrayList<Lexicon> lexicons;
	
	public FeaturesDatabase() {
		constituents = null;
		lexicons = null;
	}
	
	public ArrayList<Constituent> getConstituents() {
		return constituents;
	}
	
	public void initializeConstituents() {
		constituents = new ArrayList<>();
	}
	
	public void addConstituent(Constituent constituent) {
		constituents.add(constituent);
	}
	
	public void setConstituents(ArrayList<Constituent> constituents) {
		this.constituents = constituents;
	}
	
	/** Lexicons **/
	
	public ArrayList<Lexicon> getLexicons() {
		return lexicons;
	}
	
	public void initializeLexicons() {
		lexicons = new ArrayList<>();
	}
	
	public void addLexicon(Lexicon lexicon) {
		lexicons.add(lexicon);
	}
	
	public void setLexicons(ArrayList<Lexicon> lexicons) {
		this.lexicons = lexicons;
	}
	
}
